/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package practica2_figuras;

/**
 *
 * @author Ram_Charly
 */
public class Practica2_Figuras {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Punto p1=new Punto();
        Punto p2=new Punto(5.6,1.6);
        Punto p3=new Punto(8.9,7.2);
        
        Figura figs[]=new Figura[4];
        figs[0]=new Figura();
        figs[1]=new Figura(p1,18.5);
        figs[2]=new Figura(p1,p2);
        figs[3]=new Figura(p1,p2,p3);
        for(int i=0;i<4;i++)
        {
            figs[i].imprimirInformacion();
        }
        
        // TODO code application logic here
    }
}
